package com.cp.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author : CP
 * @version: 1.0
 * @program : itrip-project
 * @description : 邮件发送
 * @date : 2021-02-27 13:54
 **/
@Data
@Component
public class EmailConfig {

    /**
     * 发件人
     */
    @Value("${spring.mail.username}")
    private String emailFrom;
}
